package com.raise.drive.model.domain;

import java.io.Serializable;
import java.util.Date;

/**
 * Basic abstract class for custom persistent objects
 *
 * @author Eugene Rozov
 */
public abstract class Persistent implements Serializable {

    private Long id;

    private Date creationDate = new Date();

    private Date lastModificationDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date date) {
        this.creationDate = date;
    }

    public Date getLastModificationDate() {
        return lastModificationDate;
    }

    public void setLastModificationDate(Date date) {
        this.lastModificationDate = date;
    }

}
